package com.iptv.grape.bu.imp;


import android.view.KeyEvent;

import com.iptv.grape.BaseActivity;
import com.iptv.grape.bu.AppState;
import com.iptv.grape.bu.GrapeContext;
import com.iptv.grape.bu.IKeyEventPorc;
import com.iptv.grape.video.XMediaPlayer;
// 关闭直播的推荐菜单
@AppState(isShowLiveMenu = false,keyVals = {4},isShowRecommendUI = true)
public class HiddRecommand implements IKeyEventPorc {
    @Override
    public void onKeyDownEvent(BaseActivity context, XMediaPlayer mediaPlayer, GrapeContext grapeContext, KeyEvent event) {
        grapeContext.hideRecommendFragment(context);
    }
}
